package com.shisfish.library.Inter;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shisfish.core.Inter.IModelInter;
import com.shisfish.library.Model.Publisher;

public interface IPublisherInter extends IModelInter<Publisher> {

	List<Publisher> selectAllPage(@Param("currentPage") int currentPage, @Param("pageSize") int pageSize);

	int countCho(@Param("cho") String cho);

	List<Publisher> selectByCho(@Param("cho") String cho, @Param("currentPage") int currentPage, @Param("pageSize") int pageSize);

	Publisher getOne();

	Publisher selectByName(@Param("name") String name);

}
